A generic approach for the unranking of labeled combinatorial classes

نویسندگان

  • Conrado Martínez
  • Xavier Molinero
چکیده

In this article, we design and analyze algorithms that solve the unranking problem (i.e., generating a combinatorial structure of size, n given its rank) for a large collection of labeled combinatorial classes, those that can be built using operators like unions (+), products ( ), sequences, sets, cycles, and substitutions. We also analyze the performance of these algorithms and show that the worst-case is n2 ( n log n if the so-called boustrophedonic order is used), and provide an algebra for the analysis of the average performance and higher-order moments together with a few examples of its application. © 2001 John Wiley & Sons, Inc. Random Struct. Alg., 00, 1–26, 2001

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficient iteration in admissible combinatorial classes

The exhaustive generation of combinatorial objects has a vast range of practical applications and is a common theme in the combinatorial research field. But most previous works in this area concentrate in the efficient generation of particular families of combinatorial objects. The novel approach of the work presented here is to provide efficient generic algorithms, where the input is not just ...

متن کامل

Unranking Algorithms for Combinatorial Structures

We present an implementation of some unlabeled and labeled unranking algorithms for the open-source algebraic combinatorics package MUPAD-COMBINAT of the computer algebra system MUPAD. We have compared our implementation with the previous versions. All our algorithms improve the previous ones with respect to the required CPU time. Moreover, we have also developed unranking algorithms applied to...

متن کامل

Algorithms for Unranking Combinations and Other Related Choice Functions

In this report new unranking algorithms are developed for a large class of choice functions representing various classes of combinatorial objects: combinations, complementary combinations, conjugative nondecreasing choice functions, ordered partitions. Presented algorithms differ with the type of lexicographical order they deal with and the method of binomial coefficient evaluation. The proofs ...

متن کامل

Unranking Combinations in Parallel

In this report a parallel algorithm is presented for unranking k out of n set subsets. The computations run in a specialized architecture that combines some systolic and some associative features. The algorithm has O(k) time complexity and can be applied in specialized systems for parallel adaptive generation of the set of all combinations, its ordered subsets and any random sequences. This pro...

متن کامل

Ranking Catamorphisms and Unranking Anamorphisms on Hereditarily Finite Datatypes

Using specializations of unfold and fold on a generic tree data type we derive unranking and ranking functions providing natural number encodings for various Hereditarily Finite datatypes. In this context, we interpret unranking operations as instances of a generic anamorphism and ranking operations as instances of the corresponding catamorphism. Starting with Ackerman’s Encoding from Hereditar...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Random Struct. Algorithms

دوره 19  شماره 

صفحات  -

تاریخ انتشار 2001